#ifndef FILEDIALOG_H
#define FILEDIALOG_H

#include <gtk/gtk.h>

GtkWidget * file_dialog;

void init_file_dialog(int  who, const char * filename);

void file_ok_event(GtkWidget * widget,GdkEvent *event,gpointer data);
void file_refuse_event(GtkWidget * widget,GdkEvent *event,gpointer data);

void * thread_accept_file();//线程—接收文件

void * thread_send_file(gpointer pkg);

#endif // FILEDIALOG_H
